<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>{$sys.site_title} - {$sys.site_subtitle}</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta name="keywords" content="{$sys.site_keywords}" />
    <meta name="description" content="{$sys.site_description}" />
    <link rel="stylesheet" href="__PUBLIC__/common/css/pintuer.css">
    <link rel="stylesheet" href="<?php echo ROOT_URL.THEME_NAME.'/'.TPL_NAME ?>/style.css">
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/common/js/pintuer.js"></script>
    <script src="__PUBLIC__/common/js/respond.js"></script>
    <script>
    var duxConfig = {
        //基础配置
        'baseDir' : '__PUBLIC__/js/',
        'baseUrl' : '__ROOT__/',
        //自定义配置
        'libDir' : '__PUBLIC__/lib/js/',
        };
    </script>
    <script src="__PUBLIC__/js/do.js"></script>
    <script src="__PUBLIC__/js/config.js"></script>
    <script src="__PUBLIC__/lib/js/definition.js"></script>
</head>
<body>
    <div class="navbar bg-main bg-inverse dux-nav">
        <div class="container">
            <div class="line">
                <div class="navbar-body nav-navicon" id="navbar">
                    <ul class="nav nav-inline nav-menu">
                        <li><a class="icon-home" href="{url('forum/Index/index')}"> 首页</a></li>
                        <!--menu{app="forum" label="menuList" position="0,1"}-->
                        <li><a class="icon-{$menu.icon}" href="{$menu.url}"> {$menu.name}</a>
                        </li>
                        <!--{/menu}-->
                    </ul>
                    <div class="navbar-form navbar-left">
                        <form action="{url('forum/Search/index')}" method="post">
                            <input type="text" class="input input-auto" name="keyword" size="15" placeholder="关键词">
                            <input type="submit" name="search" value="搜索" class="button bg-white">
                        </form>
                    </div>
                    <div class="navbar-right">
                        <!--if{USER_ID}-->
                        <ul class="nav nav-inline nav-menu">
                            <li><a href="{url('forum/UserSetting/index')}" class="icon-cog"> 设置</a>
                            </li>
                            <!--if{$loginUserInfo['admin']}-->
                            <li><a href="{url('admin/Index/index')}" class="icon-desktop"> 后台</a>
                            </li>
                            <!--{/if}-->
                            <li><a href="{url('forum/Login/logout')}" class="icon-sign-out"> 退出</a>
                            </li>
                        </ul>
                        <!--{else}-->
                        <ul class="nav nav-inline nav-menu">
                            <li><a href="{url('forum/Reg/index')}" class="icon-plus"> 注册</a>
                            </li>
                            <li><a href="{url('forum/Login/index')}" class="icon-sign-in"> 登录</a>
                            </li>
                        </ul>
                        <!--{/if}-->
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--bar-->
    <div class="dux-body">
    <!--common-->
    </div>
    <!--foot-->
</body>
</html> 